-
Home
-
Smartcat Translator for WPML
-
3.1.62 (latest)
-
Code
-
Classes
- WpmlMock
Total Complexity |
14 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
72 |
Lines of code |
34 |
Logical lines of code |
6 |
Comment lines |
8 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
switchLang() |
S |
91 |
1 |
2 |
getTrid() |
S |
91 |
1 |
2 |
getTranslations() |
S |
82 |
1 |
3 |
getTargetElementId() |
S |
91 |
1 |
2 |
addTranslation() |
S |
91 |
1 |
2 |
getIdsBySourceElements() |
S |
82 |
1 |
3 |
getElementLanguages() |
S |
82 |
1 |
3 |
getActiveLocales() |
S |
82 |
1 |
3 |
getPostLocale() |
S |
91 |
1 |
2 |
getStrings() |
S |
82 |
1 |
3 |
registerString() |
S |
91 |
1 |
2 |
getPostLanguageCode() |
S |
91 |
1 |
2 |
getPostLanguageName() |
S |
91 |
1 |
2 |
getActiveLanguages() |
S |
82 |
1 |
3 |